<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>speech-bubble</title>
</head>
<style>
    .speech-bubble {
        position: relative;
        display: inline-block;
        max-width: 200px;
        padding: 10px;
        background-color: #00ced1;
        border-radius: 10px;
        color: white;
        font-size: 14px;
    }

    .bubble-tail {
        position: absolute;
        bottom: -10px; /* Adjust according to the size of the tail */
        left: 20px; /* Adjust to position the tail */
        width: 0;
        height: 0;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid #00ced1;
    }

    .loader {
        display: flex;
        justify-content: space-around;
        width: 100px;
        margin: 50px auto;
    }

    .circle {
        width: 20px;
        height: 20px;
        background-color: gray;
        border-radius: 50%;
        animation: bounce 1.5s infinite;
    }

    .circle:nth-child(1) {
        animation-delay: 0s;    
    }

    .circle:nth-child(2) {
        animation-delay: 0.3s;  
    }

    .circle:nth-child(3) {
        animation-delay: 0.6s;  
    }

    .circle:nth-child(4) {
        animation-delay: 0.9s;  
    }

    @keyframes bounce {
        0%, 100% {
            transform: translateY(0);
        }
        50% {
            transform: translateY(-20px);
        }
    }
</style>
<body>
    <div class="speech-bubble">
        <div class="bubble-text">Hello, world!</div>
        <div class="bubble-tail"></div>
    </div>
    <div class="loader">
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
        <div class="circle"></div>
    </div>
</body>
</html>